WprAddons\Modules\DataTable\Widgets\Wpr_Data_Table C

Total Complexity 102
Dependencies 5
Dependents 0
Total lines 2,141
Lines of code 1,727
Logical lines of code 255
Comment lines 204
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
register_controls()
D
6
1 1,351
render()
D
24
45 154
wpr_parse_csv_to_table()
A
48 7 32
render_td_icon_or_image()
S
57 5 14
render_th_icon_or_image()
S
57 5 14
detect_csv_delimiter()
S
56 4 19
render_csv_data()
S
58 4 14
add_control_choose_table_type()
S
59 1 16
get_custom_help_url()
S
76 2 4
add_control_enable_table_search()
S
61 1 12
add_control_enable_table_sorting()
S
61 1 12
add_control_enable_custom_pagination()
S
61 1 12
add_control_enable_table_export()
S
61 1 12
add_control_export_csv_text()
S
98 1 1
render_content_tooltip()
S
98 1 1
render_search_export()
S
98 1 1
get_icon()
S
82 1 3
render_td_icon()
S
71 1 5
get_categories()
S
81 1 3
render_th_icon()
S
71 1 5
get_keywords()
S
77 1 3
get_script_depends()
S
81 1 3
render_custom_pagination()
S
98 1 1
render_tooltip_icon()
S
98 1 1
add_control_export_excel_text()
S
98 1 1
add_section_export_buttons_styles()
S
98 1 1
add_repeater_args_content_tooltip_show_icon()
S
72 1 6
add_repeater_args_content_tooltip_text()
S
72 1 6
add_repeater_args_content_tooltip()
S
66 1 8
add_control_stack_content_tooltip_section()
S
98 1 1
add_section_pagination_styles()
S
98 1 1
get_title()
S
79 1 3
add_control_active_td_bg_color()
S
98 1 1
add_control_export_buttons_distance()
S
98 1 1
add_section_search_styles()
S
98 1 1
add_control_table_search_input_padding()
S
98 1 1
get_name()
S
82 1 3